package com.project.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import wt.AnnualReportService;

import java.util.List;
import java.util.Map;

@RestController
@CrossOrigin(value={ "*" },allowCredentials = "true")
public class AnnualReportController {
    @Reference
    AnnualReportService service;
    @RequestMapping("Findmonth")
    public Object Findmonth(Map<String,Object> map){
        List<Map<String,Object>> findmonth = service.Findmonth(map);
        return findmonth;
    }
    @RequestMapping("queryNdbbtj")
    public Object queryNdbbtj(Map<String,Object> map){
        List<Map<String,Object>> queryNdbbtj = service.queryNdbbtj(map);
        return queryNdbbtj;
    }
    @RequestMapping("getnbbtj")
    public Object getnbbtj(Map<String,Object> map){
        List<Map<String,Object>> getnbbtj = service.getnbbtj(map);
        return getnbbtj;
    }

}
